<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<link rel="stylesheet" href="/static/css/dialog.css"/>

<div class="studentHighSearch dialog_content clearfix " style="left:35%;width: 550px;height:380px;">
    <div class="title dialog_title">
        <p class="iconfont icon-password"></p>
        <span>新增学生</span>
        <i class='iconfont icon-close dialog_close' onclick='dialog_close()'></i>
    </div>
    <div class="content clearfix" style="padding-top:20px!important;padding-bottom:20px!important;">
        <div style="    position: relative;height: 150px;left: 40%;">
            <button style="    position: absolute;top: 10px;width: 100px;background-color: #96c24e;" id="downExcal">
                下载模板
            </button>
            <button style="z-index: 1000;position: absolute;top: 80px;width: 100px;" id="uploadExcal">上传模板</button>
            <%--<form method="post" action="/student/excal/save" enctype="multipart/form-data">--%>
                <input type="file" id="hidfile" name="file" accept=".xls,.xlsx" style=" position: absolute; top: 85px;width: 300px;left: 23px;z-index: 999;color: #909399;
    font-size: 15px;font-family: Montserrat"><br>
                <%--<input type="hidden" name="token" id="hidToken">--%>
                <%--<input type="submit" id="hidsubmit">--%>
            <%--</form>--%>
            <button style="z-index: 1000;position: absolute;top: 140px;width: 100px;" id="submitExcal">保存</button>
        </div>
        <div style="color:#909399;position: relative;width: 100%;top:70px;text-align: center;font-size: 10px;">
            提示:下载模板填写学生资料然后上传即可新增学生
        </div>
        <div class="end" style="    left: 80%!important;bottom: -100px!important;">
            <button class="cancel" onclick="dialog_close()">取消</button>
        </div>

    </div>
</div>
<script type="text/javascript" src="/static/js/idms.js"></script>
<script type="text/javascript" src="/static/js/admin/addStudent.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('#uploadExcal').click(function () {
            $('#hidfile').click();
        });
        // $('#submitExcal').click(function () {
        //     $('#hidsubmit').click();
        // });
        $("#hidToken").val(localStorage['token']);
    });
</script>

